package com.wicket.okrcalc.biz.service.dto.common;

import com.wicket.okrcalc.common.dto.BaseDto;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import javax.validation.constraints.NotNull;
import lombok.Data;
import java.util.Objects;

/**
 * @desc TargetContentCalcCountDto
 * @使用场景
 */
@Data
public class TargetContentCalcCountDto extends BaseDto implements Serializable {

  /**
   * 成果类型ID
   */
  @ApiModelProperty("成果类型ID")
  private String achievementTypeId;

  /**
   * 成果类型名称
   */
  @ApiModelProperty("成果类型名称")
  private String achievementTypeName;

  /**
   * 成果等级ID
   */
  @ApiModelProperty("成果等级ID")
  private String achievementGradeId;

  /**
   * 成果等级名称
   */
  @ApiModelProperty("成果等级名称")
  private String achievementGradeName;
@Override
  public boolean equals(Object o) {
      if (this == o) return true;
      if (o == null || getClass() != o.getClass()) return false;
      if (!super.equals(o)) return false;
      TargetContentCalcCountDto that = (TargetContentCalcCountDto) o;
      return  achievementTypeId == that.achievementTypeId&&achievementTypeName == that.achievementTypeName&&achievementGradeId == that.achievementGradeId&&achievementGradeName == that.achievementGradeName;
    }
@Override
  public int hashCode() {
      return Objects.hash(super.hashCode(), achievementTypeId,achievementTypeName,achievementGradeId,achievementGradeName);
    }

}
